package com.nbsaas.boot.order.rest.convert;

import com.nbsaas.boot.order.data.entity.OrderRefund;
import com.nbsaas.boot.order.api.domain.response.OrderRefundResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 订单退款-实体对象转化成响应对象
*/

public class OrderRefundResponseConvert  implements Converter<OrderRefundResponse,OrderRefund> {

    @Override
    public OrderRefundResponse convert(OrderRefund source) {
        OrderRefundResponse  result = new  OrderRefundResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

